/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model.Bo;
import Model.Dao.BookDao;
import Model.Entity.BookEntity;
import java.util.List;
/**
 *
 * @author Trung
 */
public class BookBO {
    
    public List<BookEntity> getAll(){
        BookDao dao = new BookDao();
        return dao.getAll();
    }
    
    public List<BookEntity> getAllId(String id){
        BookDao dao = new BookDao();
        return dao.getAllId(id);
    }
    
}
